class Person:
    def __init__(self,name):
        print("------------->init")
        self.name=name


    def __new__(cls, *args, **kwargs):
        # 开辟空间，将地址返回给__init__
        print("------------->new")
        position=object.__new__(cls)
        return position

    def __call__(self, *args, **kwargs):
        # 将对象当成当成函数调用
        print("---------------->call")
        print(*args)
p=Person("宇航")
p('name')

